package cn.edu.service.impl;

import cn.edu.mapper.UserMapper;
import cn.edu.model.User;
import cn.edu.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
@Transactional
public class UserServiceImpl implements IUserService {
    @Autowired
    private UserMapper usermapper;

    @Override
    public User find() {
        return usermapper.findAllUser();
    }
}
